[INFO] cloning repository https://github.com/rmc8/rustbook_chap4
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rmc8/rustbook_chap4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmc8%2Frustbook_chap4", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmc8%2Frustbook_chap4'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82b26005646a693ef1d840f6dd11909017e2ba6d
[INFO] checking rmc8/rustbook_chap4 against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmc8%2Frustbook_chap4" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rmc8/rustbook_chap4 on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rmc8/rustbook_chap4
[INFO] finished tweaking git repo https://github.com/rmc8/rustbook_chap4
[INFO] tweaked toml for git repo https://github.com/rmc8/rustbook_chap4 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/rmc8/rustbook_chap4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ba577926f2da1090cc71b693bbc90a4551a184b96e9cfbef966296ec915eb816
[INFO] running `Command { std: "docker" "start" "-a" "ba577926f2da1090cc71b693bbc90a4551a184b96e9cfbef966296ec915eb816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba577926f2da1090cc71b693bbc90a4551a184b96e9cfbef966296ec915eb816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba577926f2da1090cc71b693bbc90a4551a184b96e9cfbef966296ec915eb816", kill_on_drop: false }`
[INFO] [stdout] ba577926f2da1090cc71b693bbc90a4551a184b96e9cfbef966296ec915eb816
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 61b2add0996557a2df4fca37c645775570d3d95c55be4953e0f2910f52a263cb
[INFO] running `Command { std: "docker" "start" "-a" "61b2add0996557a2df4fca37c645775570d3d95c55be4953e0f2910f52a263cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling syn v1.0.54
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling anyhow v1.0.37
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking os_str_bytes v2.4.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]     Checking thiserror v1.0.23
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]     Checking Chap4 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `hoge`
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider adding a `main` function to `src/bin/hoge.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Chap4` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: crate `Chap4` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `chap4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Chap4` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `chap4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bail` in this scope
[INFO] [stdout]   --> src/bin/err_anyhow.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         bail!("it may be too large numbler");
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this macro:
[INFO] [stdout]            anyhow::bail
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ensure` in this scope
[INFO] [stdout]   --> src/bin/err_anyhow.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     ensure!(num_str.starts_with("1"), "first digit is not 1");
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this macro:
[INFO] [stdout]            anyhow::ensure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bail` in this scope
[INFO] [stdout]   --> src/bin/err_anyhow.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         bail!("it may be too large numbler");
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this macro:
[INFO] [stdout]            anyhow::bail
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ensure` in this scope
[INFO] [stdout]   --> src/bin/err_anyhow.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     ensure!(num_str.starts_with("1"), "first digit is not 1");
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this macro:
[INFO] [stdout]            anyhow::ensure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Fs` in `std`
[INFO] [stdout]  --> src/bin/err_panic.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let num_str = std::Fs::read_to_string(path).map_err(|e| MyError::Io(e))?;
[INFO] [stdout]   |                        ^^ could not find `Fs` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ParseInError` in module `std::num`
[INFO] [stdout]  --> src/bin/err_panic.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Num(std::num::ParseInError),
[INFO] [stdout]   |                   ^^^^^^^^^^^^ help: a struct with a similar name exists: `ParseIntError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Fs` in `std`
[INFO] [stdout]  --> src/bin/err_panic.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let num_str = std::Fs::read_to_string(path).map_err(|e| MyError::Io(e))?;
[INFO] [stdout]   |                        ^^ could not find `Fs` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ParseInError` in module `std::num`
[INFO] [stdout]  --> src/bin/err_panic.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Num(std::num::ParseInError),
[INFO] [stdout]   |                   ^^^^^^^^^^^^ help: a struct with a similar name exists: `ParseIntError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Chap4` due to 3 previous errors
[INFO] [stderr] error: could not compile `Chap4` due to 3 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/err_panic.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Err(e) => match e {
[INFO] [stdout]    |                         - this expression has type `String`
[INFO] [stdout] 21 |             MyError::Io(cause) => println!("I/O Error: {}", cause),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `MyError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/err_panic.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Err(e) => match e {
[INFO] [stdout]    |                         - this expression has type `String`
[INFO] [stdout] 21 |             MyError::Io(cause) => println!("I/O Error: {}", cause),
[INFO] [stdout] 22 |             MyError::Num(cause) => println!("Parse Errro: {}", cause),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `MyError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/err_panic.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Err(e) => match e {
[INFO] [stdout]    |                         - this expression has type `String`
[INFO] [stdout] 21 |             MyError::Io(cause) => println!("I/O Error: {}", cause),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `MyError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/err_panic.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Err(e) => match e {
[INFO] [stdout]    |                         - this expression has type `String`
[INFO] [stdout] 21 |             MyError::Io(cause) => println!("I/O Error: {}", cause),
[INFO] [stdout] 22 |             MyError::Num(cause) => println!("Parse Errro: {}", cause),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `MyError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Chap4` due to 5 previous errors
[INFO] [stderr] error: could not compile `Chap4` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "61b2add0996557a2df4fca37c645775570d3d95c55be4953e0f2910f52a263cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61b2add0996557a2df4fca37c645775570d3d95c55be4953e0f2910f52a263cb", kill_on_drop: false }`
[INFO] [stdout] 61b2add0996557a2df4fca37c645775570d3d95c55be4953e0f2910f52a263cb
